package org.goyo.main.services.base;

import org.goyo.common.exception.DBException;
import org.goyo.common.exception.ServiceException;
import org.goyo.common.utils.Pager;
import org.goyo.main.domain.entity.BaseObject;
import org.goyo.main.domain.entity.base.Categories;
import org.goyo.main.domain.entity.base.Supplier;

import java.util.List;

public interface ICategoriesService {
  public String saveOrUpdateInfo(Categories categories) throws DBException,ServiceException;

  public void delByUuids(Object[] uuids) throws DBException,ServiceException;

  public Categories findByUuid(String uuid) throws DBException,ServiceException;

  public Pager<Categories> findByCondition(String where,Pager pager) throws DBException,ServiceException;

  public List<Categories> getAllCategories()throws DBException,ServiceException;

  public String getCategoriesSerialNumber()throws DBException,ServiceException;
}
